home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10070 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.lang.c
  2. Path: mxsld2.pd.infn.it!LORETI
  3. From: loreti@mxsld2.pd.infn.it (Maurizio Loreti)
  4. Subject: Re: getcwd() on Solaris 2
  5. X-Nntp-Posting-Host: mxsld2.pd.infn.it
  6. Message-ID: <DoAtBC.IBM@news.cern.ch>
  7. Sender: news@news.cern.ch (USENET News System)
  8. Reply-To: loreti@mxsld2.pd.infn.it
  9. Organization: I.N.F.N. Padova - CDF/CMS VAXcluster
  10. References: <4hv1d7$f0a@nntp.flash.net>
  11. Date: Fri, 15 Mar 1996 07:40:22 GMT
  12.  
  13. In article <4hv1d7$f0a@nntp.flash.net>, cwdesign@flash.net (Creative Web Designs) writes:
  14. >I have an application that uses the function getcwd() on SunOS 4.1.3
  15. >(Solaris 1).  When I try to compile this application on the Solaris 2
  16. >operating system I get an unresolved reference: getcwd().
  17.  
  18. This is definitely NOT a C question; but on my Sparcstation I had the
  19. following:
  20.  
  21. cmssun1-3> uname -a
  22. SunOS cmssun1 5.4 Generic_101945-10 sun4m sparc
  23. cmssun1-4> man getcwd | head
  24. Reformatting page.  Wait... done
  25.  
  26. getcwd(3C)             C Library Functions             getcwd(3C)
  27.  
  28. NAME
  29.      getcwd - get pathname of current working directory
  30.  
  31. >Is this system call not supported by solaris 2 or am I not specifying
  32. >the right include directories?
  33.  
  34. The latter.  getcwd(3C) IS supported by Solaris 2, as 'man getcwd' has
  35. shown.
  36.  
  37. >Also, does anyone know of a good reference on the differences between 
  38. >Solaris 1 and Solaris 2?
  39.  
  40. Yes.  Sun Microsystems, and Solaris reference manuals.  I also suggest
  41. that you learn about the command 'man', probably available on your
  42. machine.
  43.  
  44. --
  45. Maurizio Loreti                       http://mvxpd5.pd.infn.it/wwwcdf/mlo.html
  46. Un. of Padova, Dept. of Physics - Padova, Italy          loreti@padova.infn.it
  47.